package com.tvsinfo.jdk.demo.case2_function_interface.dto;

import lombok.Data;

import java.io.Serializable;
import java.util.Collection;

/**
 * 订单列表查询请求实体
 *
 * @Author qiyi
 * @update Ruyi.Song
 * @Date 2018/6/5
 */
@Data
public class OrderPageRequest implements Serializable {

    /*****************多个条件查询******************/
    /**
     * 所属订单状态集合
     */
    private Collection<Integer> inOrderStatuses;
    /**
     * 订单类型列表
     */
    private Collection<Integer> inOrderTypes;


    /**
     * 所属支付状态集合
     */
    private Collection<Integer> inPayStatuses;
    /**
     * 退款的(本字段不只是传入)
     */
    private Collection<Integer> inRefundStatuses;


    @Override
    public String toString() {
        return "OrderPageRequest{" +
                "inOrderStatuses=" + inOrderStatuses +
                ", inOrderTypes=" + inOrderTypes +
                ", inPayStatuses=" + inPayStatuses +
                ", inRefundStatuses=" + inRefundStatuses +
                '}';
    }
}
